package cn.jason.org.mapper;

import cn.jason.org.domain.Shop;
import cn.jason.basic.mapper.BaseMapper;
import cn.jason.org.vo.ShopVo;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jason
 * @since 2022-06-12
 */
public interface ShopMapper extends BaseMapper<Shop> {
    // 根据名字查询店铺
    Shop loadByName(String name);
    //查询不同状态的店铺数量
    List<ShopVo> queryEcharts();
}
